package com.lzz.websocket.controller;


import com.lzz.websocket.service.WebSocketServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class SocketController {



    ////
    //////2
    //单纯的做一个转发到html界面的操作
    @RequestMapping("/")
    public String socket() {
        return "WebSocket";
    }


}